package org.example.design.exerciseold.dimit;

import java.util.ArrayList;
import java.util.List;

/**
 * @Auther: lingshi
 * @Date: 2020/5/8 13:13
 * @Description:
 */
public class Employee {

    public void getCount(){
        List <Course>  list = new ArrayList <>();
        for(int i =0;i<20;i++){
            list.add(new Course());
        }

        System.out.println("目前的课程数有："+list.size());

    }

}
